import utils from "@/utils/index.js";
import {reactive} from "vue";

export const navData = [
    {
        title: '数据概览',
        name: 'dataOverview',
        icon: 'DocumentCopy',
        logo: utils.getAssetsFile('czc.png'),
        path: '/dataResourceCatalog'
    },
    {
        title: '数据目录',
        name: 'dataCatalog',
        icon: 'Memo',
        logo: utils.getAssetsFile('cfw.png'),
        path: '/dataResourceCatalog'
    },
]

export const listPageData = [
    {
        "resourceId": "1",
        "tableNameChain": "控规图",
        "tableNameEnglish": "control_stipulate",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "NATURAL_RESOURCE_PLAN",
        "dataUnitName": "自然资源和规划局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自自然资源和规划局的控规图",
        "dataCatalog": "图层"
    },
    {
        "resourceId": "10",
        "tableNameChain": "企业变更信息",
        "tableNameEnglish": "stg_qscjgj_qyxyxxgxxt_zx_gs_bgnr",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "MARKET_SUPER_ADMIN",
        "dataUnitName": "市场监督管理局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自市场监督管理局的企业变更信息",
        "dataCatalog": "法人库"
    },
    {
        "resourceId": "11",
        "tableNameChain": "企业高管人员信息",
        "tableNameEnglish": "stg_qscjgj_qyxyxxgxxt_zx_gs_gsgg",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "MARKET_SUPER_ADMIN",
        "dataUnitName": "市场监督管理局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自市场监督管理局的企业高管人员信息",
        "dataCatalog": "法人库"
    },
    {
        "resourceId": "12",
        "tableNameChain": "企业投资方信息",
        "tableNameEnglish": "stg_qscjgj_qyxyxxgxxt_zx_gs_qytzf",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "MARKET_SUPER_ADMIN",
        "dataUnitName": "市场监督管理局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自市场监督管理局的企业投资方信息",
        "dataCatalog": "法人库"
    },
    {
        "resourceId": "13",
        "tableNameChain": "企业注销登记信息",
        "tableNameEnglish": "stg_qscjgj_qyxyxxgxxt_zx_gs_zxjl",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "MARKET_SUPER_ADMIN",
        "dataUnitName": "市场监督管理局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自市场监督管理局的企业注销登记信息",
        "dataCatalog": "法人库"
    },
    {
        "resourceId": "14",
        "tableNameChain": "生态保护红线图",
        "tableNameEnglish": "ecological_wealth",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "NATURAL_RESOURCE_PLAN",
        "dataUnitName": "自然资源和规划局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自自然资源和规划局的生态保护红线图",
        "dataCatalog": "图层"
    },
    {
        "resourceId": "2",
        "tableNameChain": "三调图",
        "tableNameEnglish": "three_survey",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "NATURAL_RESOURCE_PLAN",
        "dataUnitName": "自然资源和规划局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自自然资源和规划局的三调图",
        "dataCatalog": "图层"
    },
    {
        "resourceId": "3",
        "tableNameChain": "三调土地图",
        "tableNameEnglish": "three_survey_land",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "NATURAL_RESOURCE_PLAN",
        "dataUnitName": "自然资源和规划局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自自然资源和规划局的三调土地图",
        "dataCatalog": "图层"
    },
    {
        "resourceId": "4",
        "tableNameChain": "合法权证图",
        "tableNameEnglish": "legal_title_deep",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "NATURAL_RESOURCE_PLAN",
        "dataUnitName": "自然资源和规划局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自自然资源和规划局的合法权证图",
        "dataCatalog": "图层"
    },
    {
        "resourceId": "5",
        "tableNameChain": "耕地保护目标图",
        "tableNameEnglish": "land_protect_target",
        "respOffice": "JXJ",
        "respOfficeName": "区经信局",
        "contactPerson": "",
        "contactWay": "",
        "notionalPoolingStatus": "Y",
        "notionalPoolingStatusName": "已归集",
        "dataUnit": "NATURAL_RESOURCE_PLAN",
        "dataUnitName": "自然资源和规划局",
        "dataUpdateDate": "2022-11-18",
        "pubDate": "2022-11-18",
        "updateCycle": "不定期",
        "summary": "这是来自自然资源和规划局的耕地保护目标图",
        "dataCatalog": "图层"
    }
]

export const labelData = [
    {
        title:'数源部门',
        child:['自然资源和规划局','市场监督管理局'],
        checked:[false,false]
    },
    {
        title:'归集状态',
        child:['已归集','未归集'],
        checked:[false,false]
    },
    {
        title:'责任部门',
        child:['区经信局'],
        checked:[false]
    }
]

export const getCategoryList = [
    {
        "id": "1592059041969348610",
        "label": "基础库",
        "remark": null,
        "treeCode": "00_06_01",
        "value": "基础库",
        "suffix": 14,
        "children": [
            {
                "id": "1592059741575061505",
                "label": "法人库",
                "remark": null,
                "treeCode": "00_06_01_02",
                "value": "法人库",
                "suffix": 6,
                "children": [
                    {
                        "id": "1593486451974205441",
                        "label": "企业登记信息",
                        "remark": null,
                        "treeCode": "00_06_01_02_01",
                        "value": "stg_qscjgj_qyxyxxgxxt_zx_gs_qydj",
                        "suffix": 1,
                        "children": []
                    },
                    {
                        "id": "1593486567304982530",
                        "label": "企业法定代表人信息",
                        "remark": null,
                        "treeCode": "00_06_01_02_02",
                        "value": "stg_qscjgj_qyxyxxgxxt_zx_gs_fddbr",
                        "suffix": 1,
                        "children": []
                    },
                    {
                        "id": "1593486728357867522",
                        "label": "企业变更信息",
                        "remark": null,
                        "treeCode": "00_06_01_02_03",
                        "value": "stg_qscjgj_qyxyxxgxxt_zx_gs_bgnr",
                        "suffix": 1,
                        "children": []
                    },
                    {
                        "id": "1593486825325981697",
                        "label": "企业高管人员信息",
                        "remark": null,
                        "treeCode": "00_06_01_02_04",
                        "value": "stg_qscjgj_qyxyxxgxxt_zx_gs_gsgg",
                        "suffix": 1,
                        "children": []
                    },
                    {
                        "id": "1593487108038848513",
                        "label": "企业投资方信息",
                        "remark": null,
                        "treeCode": "00_06_01_02_05",
                        "value": "stg_qscjgj_qyxyxxgxxt_zx_gs_qytzf",
                        "suffix": 1,
                        "children": []
                    },
                    {
                        "id": "1593487216897814530",
                        "label": "企业注销登记信息",
                        "remark": null,
                        "treeCode": "00_06_01_02_06",
                        "value": "stg_qscjgj_qyxyxxgxxt_zx_gs_zxjl",
                        "suffix": 1,
                        "children": []
                    }
                ]
            },
            {
                "id": "1593484514587439106",
                "label": "要素库",
                "remark": null,
                "treeCode": "00_06_01_01",
                "value": "要素库",
                "suffix": 8,
                "children": [
                    {
                        "id": "1593442493483053058",
                        "label": "图层",
                        "remark": null,
                        "treeCode": "00_06_01_01_03",
                        "value": "图层",
                        "suffix": 8,
                        "children": [
                            {
                                "id": "1593448776286203905",
                                "label": "控规图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_01",
                                "value": "control_stipulate",
                                "suffix": 1,
                                "children": []
                            },
                            {
                                "id": "1593448977424052225",
                                "label": "三调图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_02",
                                "value": "three_survey",
                                "suffix": 1,
                                "children": []
                            },
                            {
                                "id": "1593449122232397825",
                                "label": "三调土地图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_03",
                                "value": "three_survey_land",
                                "suffix": 1,
                                "children": []
                            },
                            {
                                "id": "1593449301622779906",
                                "label": "合法权证图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_04",
                                "value": "legal_title_deep",
                                "suffix": 1,
                                "children": []
                            },
                            {
                                "id": "1593449451111968770",
                                "label": "耕地保护目标图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_05",
                                "value": "land_protect_target",
                                "suffix": 1,
                                "children": []
                            },
                            {
                                "id": "1593449551397777409",
                                "label": "基本农田保护图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_06",
                                "value": "permanent_farmland_protect",
                                "suffix": 1,
                                "children": []
                            },
                            {
                                "id": "1593449750966956034",
                                "label": "城镇开发边界图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_07",
                                "value": "town_develop_border",
                                "suffix": 1,
                                "children": []
                            },
                            {
                                "id": "1593522286673129473",
                                "label": "生态保护红线图",
                                "remark": null,
                                "treeCode": "00_06_01_01_03_08",
                                "value": "ecological_wealth",
                                "suffix": 1,
                                "children": []
                            }
                        ]
                    }
                ]
            }
        ]
    },
    {
        "id": "1592059240586420225",
        "label": "主题库",
        "remark": null,
        "treeCode": "00_06_02",
        "value": "主题库",
        "suffix": 0,
        "children": [
            {
                "id": "1593442892671741954",
                "label": "经济指标",
                "remark": null,
                "treeCode": "00_06_02_02",
                "value": "经济指标",
                "suffix": 0,
                "children": []
            },
            {
                "id": "1593443356259774465",
                "label": "招商地图",
                "remark": null,
                "treeCode": "00_06_02_03",
                "value": "招商地图",
                "suffix": 0,
                "children": []
            },
            {
                "id": "1593443503639228417",
                "label": "产业地图",
                "remark": null,
                "treeCode": "00_06_02_04",
                "value": "产业地图",
                "suffix": 0,
                "children": []
            },
            {
                "id": "1593443810158964737",
                "label": "企业智治",
                "remark": null,
                "treeCode": "00_06_02_05",
                "value": "企业智治",
                "suffix": 0,
                "children": []
            },
            {
                "id": "1593444102162214914",
                "label": "要素直报",
                "remark": null,
                "treeCode": "00_06_02_06",
                "value": "要素直报",
                "suffix": 0,
                "children": []
            },
            {
                "id": "1593444517771603970",
                "label": "政策中心",
                "remark": null,
                "treeCode": "00_06_02_07",
                "value": "政策中心",
                "suffix": 0,
                "children": []
            }
        ]
    }
]

export const themeList = [
    {
        "code": "control_stipulate",
        "name": "控规图",
        "value": 5352
    },
    {
        "code": "three_survey",
        "name": "三调图",
        "value": 2187
    },
    {
        "code": "three_survey_land",
        "name": "三调土地图",
        "value": 4768
    },
    {
        "code": "legal_title_deep",
        "name": "合法权证图",
        "value": 11602
    },
    {
        "code": "land_protect_target",
        "name": "耕地保护目标图",
        "value": 13880
    },
    {
        "code": "permanent_farmland_protect",
        "name": "基本农田保护图",
        "value": 13017
    },
    {
        "code": "town_develop_border",
        "name": "城镇开发边界图",
        "value": 100
    },
    {
        "code": "ecological_wealth",
        "name": "生态保护红线图",
        "value": 98
    }
]

export const basicsList = [
    {
        "code": "stg_qscjgj_qyxyxxgxxt_zx_gs_qydj",
        "name": "企业登记信息",
        "value": 75611
    },
    {
        "code": "stg_qscjgj_qyxyxxgxxt_zx_gs_fddbr",
        "name": "企业法定代表人信息",
        "value": 74533
    },
    {
        "code": "stg_qscjgj_qyxyxxgxxt_zx_gs_bgnr",
        "name": "企业变更信息",
        "value": 232824
    },
    {
        "code": "stg_qscjgj_qyxyxxgxxt_zx_gs_gsgg",
        "name": "企业高管人员信息",
        "value": 57071
    },
    {
        "code": "stg_qscjgj_qyxyxxgxxt_zx_gs_qytzf",
        "name": "企业投资方信息",
        "value": 48978
    },
    {
        "code": "stg_qscjgj_qyxyxxgxxt_zx_gs_zxjl",
        "name": "企业注销登记信息",
        "value": 29359
    }
]

export const overviewData = reactive([
    {
        title: '总数据集',
        num: '14',
        logo: utils.getAssetsFile('sjj1.png'),
    },
    {
        title: '已归集数据集(项)',
        num: '14',
        logo: utils.getAssetsFile('sjj2.png'),
    },
    {
        title: '已归集政务数据集(条)',
        num: '569,380',
        logo: utils.getAssetsFile('sjj3.png'),
    }
])
